-- GENERATED SPELL FOR [Razzashi Cobra] --


function spell0_11373(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(24097,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11373', 30000, 1)
end

function Sorts_11373(pUnit, Event)
local choix_sorts_11373 = math.random(0, 0)
if choix_sorts_11373 == 0 then
pUnit:RegisterEvent('spell0_11373', 1, 1)
end
end

function mob11373_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11373', math.random(1500, 3000), 1)
end

function mob11373_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11373_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11373_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11373, 1, 'mob11373_Action')
RegisterUnitEvent(11373, 2, 'mob11373_Leave')
RegisterUnitEvent(11373, 3, 'mob11373_Kill')
RegisterUnitEvent(11373, 4, 'mob11373_Die')
